package com.example.demo.repository;

import com.example.demo.entity.HttpUri;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by chenbo on 2018/5/30.
 */
public interface UriRepository extends JpaRepository<HttpUri,Integer> {

    List<HttpUri> findByPathLike(String path);

    List<HttpUri> findByPathIs(String path);

    HttpUri findById( int id );

}
